package com.engine.salary.entity.salarysob.param;

import com.engine.salary.util.valid.DataCheck;
import lombok.Data;

import java.util.List;

/**
 * 薪资账套复制参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
public class SalarySobDuplicateParam {

    /**
     * 薪资账套的ID不允许为空
     */
    @DataCheck(require = true, message = "薪资账套的ID不允许为空")
    private Long id;

    /**
     * 名称不允许为空
     * 名称不能超过40个字符长度
     */
    @DataCheck(require = true, max = 40, message = "名称不允许为空且名称不能超过40个字符长度")
    private String name;

    private List<Long> taxAgentIds;
}
